<!doctype html>
<html lang="en">
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >

  <!-- fullCalendar -->
  <link href='https://unpkg.com/@fullcalendar/core@4.3.1/main.min.css' rel='stylesheet' />
  <link href='https://unpkg.com/@fullcalendar/daygrid@4.3.0/main.min.css' rel='stylesheet' />
  <link href='https://unpkg.com/@fullcalendar/timegrid@4.3.0/main.min.css' rel='stylesheet' />
  <link href='https://unpkg.com/@fullcalendar/bootstrap@4.3.0/main.min.css' rel='stylesheet' />

  <script src="https://code.jquery.com/jquery-3.4.1.js" ></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" ></script>
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.js"></script>
  <!-- fullCalendar -->
  <script src='https://unpkg.com/@fullcalendar/core@4.3.1/main.min.js'></script>
  <script src='https://unpkg.com/@fullcalendar/interaction@4.3.0/main.min.js'></script>
  <script src='https://unpkg.com/@fullcalendar/daygrid@4.3.0/main.min.js'></script>
  <script src='https://unpkg.com/@fullcalendar/timegrid@4.3.0/main.min.js'></script>
  <script src='https://unpkg.com/@fullcalendar/bootstrap@4.3.0/main.min.js'></script>
  <script src='https://unpkg.com/@fullcalendar/core@4.3.1/locales-all.js'></script>

   <style>

    html, body {
      margin: 0;
      padding: 0;
      font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
      font-size: 14px;
    }

    #thecalendar {
      max-width: 900px;
      margin: 40px auto;
    }

  </style>
  <title>FullCalendar.JS demo in Pas2JS</title>
  <script src="demofullcalendar4.js"></script>
</head>
<body>
  <div class="container-fluid">
    <div class="row">
      <form class="form form-inline ml-auto">
        <div class="form-group">
        <label for="locale-selector">Locales:</label>
        <select class="form-control" id="locale-selector"></select>
        </div>
      </form>
    </div>
    <div id="thecalendar">
    </div>
   <div class="source row">
     <div>
       Created using &nbsp; <a target="_blank" href="https://wiki.freepascal.org/pas2js">pas2js.</a> &nbsp;&nbsp;Sources: &nbsp; 
       <a target="new" href="demofullcalendar4.lpr">Program</a>.
     </div>
    </div>
  </div>
  <script>
  window.addEventListener("load", rtl.run);
  </script>
</body>
</html>
